﻿<?php
include ('class.ezpdf.php');
$pdf =& new Cezpdf();
$pdf->selectFont('./fonts/Helvetica.afm');
$pdf->ezText('ÁAÉEÍIÓOÚU',50);
$pdfcode = $pdf->output();
$fp=fopen('./pdf/pdf8.pdf','wb');
fwrite($fp,$pdfcode);
fclose($fp);
echo '<script>window.open("./pdf/pdf8.pdf");</script>';
?>